
declare module Microsoft.Office.WebExtension {

    /** Represents custom settings for a mail app that are stored in the user's mailbox as name/value pairs. */
    export class RoamingSettings {

        /** Retrieves the specified setting. */
        get(name: string): string;

        /** Removes the specified setting. */
        remove(name: string): string;

        /** Saves the settings. */
        saveAsync(callback?: (result: AsyncResult) => void);

        /** Sets or creates the specified setting. */
        set(name: string, value: string);
    }
}